package ping.client;

/**
 * 接收包类 
 */
public class ReceivePackets {
	private TimeToLive timeToLive;
	private int received;
	private int lost;
	private int total;
	public ReceivePackets(TimeToLive timeToLive, int received, int lost, int total) {
		this.timeToLive = timeToLive;
		this.received = received;
		this.lost = lost;
		this.total = total;
	}
	public TimeToLive getTimeToLive() {
		return timeToLive;
	}
	public void setTimeToLive(TimeToLive timeToLive) {
		this.timeToLive = timeToLive;
	}
	public int getReceived() {
		return received;
	}
	public void setReceived(int received) {
		this.received = received;
	}
	public int getLost() {
		return lost;
	}
	public void setLost(int lost) {
		this.lost = lost;
	}
	public int getTotal() {
		return total;
	}
	public void setTotal(int total) {
		this.total = total;
	}
}
